import service from '../utils/request2.js'

//发布动态
export const postTriend = (data) => service({
	url:'/api/triend/post',
	method:'post',
	data
})

//随机动态
export const rendomTriend = () => service({
	url:'/api/triend/random',
	method:'get'
})
//根据id查看动态详情
export const getTriendDEtailById = (data) => ({
	url:'/api/triend/detail',
	method:'get',
	data
})